#pragma once
#include "xhtml_gen/xhtml_doc.hpp"
#include "element.hpp"
#include <string>

namespace webgen{
enum e_method{POST,GET};
class form : public element
{
public:
	form();
	form(const std::string& name,const std::string& action, e_method method);
	xhtml_gen::element& get_element();
private:
	std::string m_action;
	e_method m_method;
};
}
